/************************************************************************
              ReadObj.h - Copyright Claudio Botta

This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110, USA

**************************************************************************/

// ReadObj extracts the basic features of the OBJ-format to . 
// The format is sufficiently specified at http://en.wikipedia.org/wiki/Obj

#ifndef READOBJ_H
#define READOBJ_H

#include <string>
#include <iostream>
#include "BaseTypes/Polygons.h"
#include <boost/iostreams/device/file.hpp>
#include <boost/iostreams/device/array.hpp>
#include <boost/iostreams/stream.hpp>

#include <cstdio>
#include <math.h>
using namespace geomagick;
string pop_number(string&);
Polygons* readObj();

#endif
